package org.wxl.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户实体类
 * @author 王学良
 */
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user")
@Data
public class userEntity implements Serializable {
    /**
     * 用户id 主键
     */
    @TableId
    private String id;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String userName;
    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickName;

    /**
     * 密码
     */
    @Schema(description = "密码")
    private String password;
    /**
     * 帐号状态
     */
    @Schema(description = "帐号状态")
    private String status;

    /**
     * 邮箱
     */
    @Schema(description = "邮箱")
    private String email;

    /**
     * 手机号
     */
    @Schema(description = "手机号")
    private String phone;
    /**
     * 性别
     */
    @Schema(description = "性别")
    private String sex;
    /**
     * 头像
     */
    @Schema(description = "头像")
    private String avatar;
    /**
     * 美食偏好
     */
    @Schema(description = "美食偏好")
    private String foodPreferences;
    /**
     * 烹饪经验
     */
    @Schema(description = "烹饪经验")
    private String cookingExperience;
    /**
     * 用户角色
     */
    @Schema(description = "用户角色")
    private String roleKey;
    /**
     * 简介
     */
    @Schema(description = "简介")
    private String remark;
    /**
     * 创建者
     */
    @Schema(description = "创建者")
    private String createBy;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private Date createTime;
    /**
     * 更新者
     */
    @Schema(description = "更新者")
    private String updateBy;
    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private Date updateTime;
    /**
     * 删除标志
     */
    @Schema(description = "删除标志")
    private String deleted;
}
